package com.krtech.wecard.module.farmhouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 工匠管理
 */
@ApiModel(value = "com-krtech-wecard-module-farmhouse-entity-FarmHouseArtisanManage")
@Data
@TableName(value = "farm_house_artisan_manage")
public class FarmHouseArtisanManage {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 工匠名称
     */
    @TableField(value = "artisan_name")
    @ApiModelProperty(value = "工匠名称")
    private String artisanName;

    /**
     * 证书到期时间
     */
    @TableField(value = "certificate_expire_time")
    @ApiModelProperty(value = "证书到期时间")
    private Date certificateExpireTime;

    /**
     * 证书照片路径
     */
    @TableField(value = "certificate_pic_url")
    @ApiModelProperty(value = "证书照片路径")
    private String certificatePicUrl;

    /**
     * 工匠电话
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "工匠电话")
    private String phone;

    /**
     * 身份证
     */
    @TableField(value = "id_card")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    /**
     * 籍贯
     */
    @TableField(value = "origin_home")
    @ApiModelProperty(value = "籍贯")
    private String originHome;

    public static final String COL_ID = "id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_ARTISAN_NAME = "artisan_name";

    public static final String COL_CERTIFICATE_EXPIRE_TIME = "certificate_expire_time";

    public static final String COL_CERTIFICATE_PIC_URL = "certificate_pic_url";

    public static final String COL_PHONE = "phone";

    public static final String COL_ID_CARD = "id_card";

    public static final String COL_ORIGIN_HOME = "origin_home";
}